package com.webside.points.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.webside.points.mapper.LikeMapper;
import com.webside.points.model.LikeEntity;
import com.webside.points.service.LikeService;
@Service
public class LikeServiceImpl implements LikeService{

	
	@Autowired
	LikeMapper likeMapper;
	
	@Override
	public int insert(LikeEntity likeEntity) {
		return likeMapper.insert(likeEntity);
	}

	@Override
	public int update(LikeEntity likeEntity) {
		return likeMapper.update(likeEntity);
	}

	@Override
	public LikeEntity findById(LikeEntity likeEntity) {
		return likeMapper.findById(likeEntity);
	}

	@Override
	public int delete(LikeEntity likeEntity) {
		return likeMapper.delete(likeEntity);
	}

}
